package com.dobbinsoft.iotechn.data.exception;

import com.dobbinsoft.iotechn.core.exception.ServiceExceptionDefinition;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: rize
 * Date: 2020/3/20
 * Time: 20:48
 */
public class DataExceptionDefinition {

    public static final ServiceExceptionDefinition ADMIN_DATA_NOT_BELONGS_TO_YOU =
            new ServiceExceptionDefinition(403, "数据不属于您，无法操作！");

    public static final ServiceExceptionDefinition UPLOAD_VIDEO_REQUEST_FAIL =
            new ServiceExceptionDefinition(600, "上传视频失败,失败信息:${0}");

    public static final ServiceExceptionDefinition GET_PLAY_ADDRESS_FALI_EMPTY =
            new ServiceExceptionDefinition(601, "获取播放地址失败_获取值为空");

    public static final ServiceExceptionDefinition GET_PLAY_ADDRESS_FALI_CLIENT =
            new ServiceExceptionDefinition(602, "获取播放地址失败_Client异常");

    public static final ServiceExceptionDefinition FILE_IO_ERROR =
            new ServiceExceptionDefinition(603, "文件IO出现错误");

    public static final ServiceExceptionDefinition GET_COVER_FAIL_EMPTY =
            new ServiceExceptionDefinition(604, "获取视频封面出现问题_获取值为空");

    public static final ServiceExceptionDefinition GET_COVER_FAIL_CLIENT =
            new ServiceExceptionDefinition(605, "获取视频封面出现问题_Client异常");

}
